package com.hxzy.shop.marketing.dto.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Description 分销全局配置和绑定规则
 * @Author tu-jia-hao
 * @Data 2022/9/14 10:16
 */
@Data
public class DistributionGlobalAndBindRuleResp implements Serializable {

    private static final long serialVersionUID = 7879530276535193318L;
    /**
     * id
     */
    @ApiModelProperty("id")
    private Long id;

    /**
     * 结算点 1支付成功 2订单完成
     */
    @ApiModelProperty("结算点 1支付成功 2订单完成")
    private Integer settlementPoint;

    /**
     * 提现门槛
     */
    @ApiModelProperty("提现门槛")
    private BigDecimal withdrawLimit;

    /**
     * 单人每次最小提现金额
     */
    @ApiModelProperty("单人每次最小提现金额")
    private BigDecimal singleWithdrawLimt;

    /**
     * 商户id
     */
    @ApiModelProperty("商户id")
    private Long merchantId;

    //是否产生绑定 1临时绑定 2绑定后x天后失效
    @ApiModelProperty("1临时绑定 2绑定后x天后失效")
    private Integer bind;
    //绑定天数
    @ApiModelProperty("绑定天数")
    private Integer bindTime;
    //是否允许抢客 1允许 2不允许
    @ApiModelProperty("是否允许抢客 1允许 2不允许")
    private Integer replaceBind;

}
